package strategy.improve;

public class WildDuck extends Duck {


    //构造器，传入FlyBehavor 的对象
    public WildDuck() {
        super("野鸭");
        flyBehavior = new GoodFlyBehavior();
        quackBehavior = new LoudQuack();
    }


}
